package org.bean;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.cfg.CommodityCfg;

/**
 * @author : DengYing
 * @CreateDate : 2017年9月11日 下午6:44:12
 * @Description ：Please describe this document
 */
public class StoreGrid {
	private int grid;
	private int totalWeight;
	private List<CommodityCfg> cfgs;

	public StoreGrid(int grid, int totalWeight, List<CommodityCfg> cfgs) {
		super();
		this.grid = grid;
		this.totalWeight = totalWeight;
		this.cfgs = cfgs;
	}

	public int getGrid() {
		return grid;
	}

	public void setGrid(int grid) {
		this.grid = grid;
	}

	public int getTotalWeight() {
		return totalWeight;
	}

	public void setTotalWeight(int totalWeight) {
		this.totalWeight = totalWeight;
	}

	public List<CommodityCfg> getCfgs() {
		return cfgs;
	}

	public void setCfgs(List<CommodityCfg> cfgs) {
		this.cfgs = cfgs;
	}
	
	public String toString(){
		return ToStringBuilder.reflectionToString(this);
	}
}
